﻿
@{
    Layout = null;
}

<!DOCTYPE html>

<html>
<head>
    <meta name="viewport" content="width=device-width" />
    <title>Index</title>
</head>
<body>
    @if (ViewBag.Msg != null)
    {
        <h2>@ViewBag.Msg</h2>
    }
    @using (Html.BeginForm())
    {
        <p>用户名：@Html.TextBox("username")</p>
        <p>密码：@Html.Password("pwd")</p>
        <input id="Button1" type="submit" value="登录" />
    }

</body>
</html>
